<% if flash[:warning] %> 
	<p style="color: red;"><%= flash[:warning] %></p>
<% end %>

<% 
if @group.id.nil? then
	ctlSubmit = 'group_create'
else
	ctlSubmit = 'group_edit'
end
%>
<% form_for :group, :url=>{:action => ctlSubmit } do |f| %>
  <%#= f.error_messages %>
  <%= error_messages_for 'user' %><br/>
  <%= f.hidden_field :id %>

  <p>
    <%= f.label :group_name %> : 
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :group_description %> : 
    <%= f.text_field :desc %><br>
  
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Back', {:action => "manage_acl"} %> 
